package com.yoso.classloader;

public class Test {
    public static void main(String[] args) {
        ClassLoader classLoader = Test.class.getClassLoader();
        System.out.println(classLoader);

        ClassLoader parent = Test.class.getClassLoader().getParent();
        while (parent != null) {
            System.out.println(parent);
            parent = parent.getParent();
        }

        System.out.println(Object.class.getClassLoader());
    }
}
